//out:../css/

.main {

    // 轮播图
    #carouselExampleIndicators {

        // 下标指示器改成圆状
        // .carousel-indicators {
        //     button {
        //         width: 12px;
        //         height: 12px;
        //         border-radius: 50%;
        //     }
        // }

        .carousel-indicators,
        .carousel-control-prev,
        .carousel-control-next {
            opacity: 0;
        }

        &:hover .carousel-indicators,
        &:hover .carousel-control-prev,
        &:hover .carousel-control-next {
            opacity: 1;
        }
    }

    // 课程入口
    .course-list {
        display: flex;
        justify-content: space-between;
        padding-top: 70px;
        padding-bottom: 150px;
        padding-left: 0;
        width: 1200px;
        height: 460px;

        .course-item {
            width: 282px;
            height: 240px;

            a {
                display: block;
                width: 282px;
                height: 240px;
                padding: 30px;
                border-radius: 20px;
                background: rgba(255, 255, 255, 1);
                text-align: center;

                img {
                    width: 120px;
                    height: 120px;
                }

                h3 {
                    font-size: 24px;
                    font-weight: 400;
                    margin-top: 20px;
                    letter-spacing: 0px;
                    line-height: 28.13px;
                    color: rgba(51, 51, 51, 1);
                }

                &:hover {
                    background-color: rgba(24, 66, 182, 1);
                }

                &:hover h3 {
                    color: white;
                }
            }
        }
    }

    // 保障学员就业
    .guarantee {

        .stage {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 1200px;
            height: 670px;
            padding-bottom: 150px;

            img {
                width: 282px;
                height: 460px;
            }
        }
    }

    // 线下课程
    .outline-course {
        padding-top: 150px;

        // 课程列表
        .course-list2 {
            display: flex;
            width: 1200px;
            height: 280px;
            border-bottom: 1px solid rgb(228, 231, 235, 1);

            .course-item2 {
                width: 300px;
                height: 280px;
                padding-top: 60px;
                text-align: center;

                img {
                    width: 120px;
                    height: 120px;
                }

                h3 {
                    font-size: 24px;
                    font-weight: 400;
                    margin-top: 30px;
                    letter-spacing: 0px;
                    line-height: 28.13px;
                    color: rgba(51, 51, 51, 1);
                }

                &.active {
                    border-bottom: 4px solid rgb(24, 66, 182, 1);
                }
            }

            &:hover {
                cursor: pointer;
            }
        }

        .all-content-list {
            width: 1200px;
            height: 430px;

            .content-item {
                display: none;
                width: 1200px;
                height: 430px;

                &.active {
                    display: block;
                }

                // 单个课程内容
                .single-content-list {
                    display: flex;
                    justify-content: space-between;
                    padding-top: 50px;
                    width: 1200px;
                    height: 430px;

                    .single-course-content {
                        height: 100%;

                        h4 {
                            font-size: 24px;
                            font-weight: 400;
                            letter-spacing: 0px;
                            line-height: 28.13px;
                            color: rgba(51, 51, 51, 1);
                            margin-bottom: 30px;
                        }

                        &:nth-child(1) {
                            width: 270px;

                            .job-list {
                                display: flex;
                                flex-direction: column;
                                justify-content: space-between;
                                width: 270px;
                                height: 328px;

                                .job-item {
                                    width: 270px;
                                    height: 105px;
                                    padding: 15px;
                                    border-radius: 12px;
                                    background: rgb(247, 249, 250, 1);

                                    h5 {
                                        font-size: 40px;
                                        font-weight: 500;
                                        letter-spacing: 0px;
                                        line-height: 46.88px;
                                        color: rgba(51, 51, 51, 1);
                                    }

                                    p {
                                        font-size: 18px;
                                        font-weight: 400;
                                        margin-top: 4px;
                                        letter-spacing: 0px;
                                        line-height: 21.1px;
                                        color: rgba(51, 51, 51, 1);
                                    }
                                }
                            }
                        }

                        &:nth-child(2) {
                            width: 312px;

                            p {
                                width: 312px;
                                height: 328px;
                                padding: 30px;
                                border-radius: 12px;
                                background: rgb(247, 251, 254, 1);
                                font-size: 17px;
                                font-weight: 400;
                                letter-spacing: 0px;
                                line-height: 28px;
                                color: rgba(51, 51, 51, 1);
                            }
                        }

                        &:nth-child(3) {
                            width: 330px;

                            .plan-list {
                                display: flex;
                                flex-direction: column;
                                justify-content: space-between;
                                width: 100%;
                                height: 328px;
                                padding: 30px;
                                border-radius: 12px;
                                background: rgb(247, 251, 254, 1);

                                .plan {
                                    font-size: 18px;
                                    font-weight: 400;
                                    letter-spacing: 0px;
                                    line-height: 23.44px;
                                    color: rgba(51, 51, 51, 1);
                                }
                            }
                        }

                        &:nth-child(4) {
                            width: 228px;

                            .info-list {
                                display: flex;
                                flex-direction: column;
                                justify-content: space-between;
                                width: 100%;
                                height: 328px;

                                .info {
                                    width: 228px;
                                    height: 70px;

                                    a {
                                        display: flex;
                                        justify-content: space-between;
                                        align-items: center;
                                        width: 228px;
                                        height: 70px;
                                        padding: 24px;
                                        opacity: 1;
                                        border-radius: 12px;
                                        background: rgba(255, 255, 255, 1);
                                        border: 1px solid rgba(228, 231, 235, 1);
                                        box-shadow: 0px 10px 14px 4px rgba(235, 241, 245, 0.6);

                                        h6 {
                                            font-size: 18px;
                                            font-weight: 400;
                                            letter-spacing: 0px;
                                            line-height: 21.1px;
                                            color: rgba(51, 51, 51, 1);
                                        }

                                        span {
                                            font-size: 12px;
                                            color: gray;
                                        }

                                        &:hover {
                                            background: rgb(24, 66, 182, 1);
                                        }

                                        &:hover h6,
                                        &:hover span {
                                            color: white;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    // 教学团队
    .teaching-team {
        padding-top: 150px;

        // 讲师轮播图
        .teacher-box {
            width: 1200px;
            height: 390px;
            overflow: hidden;

            .teacher-list {
                display: flex;
                width: 1200px;
                height: 390px;
                animation: move 18s infinite linear;

                .teachers {
                    width: 282px;
                    height: 390px;
                    margin-left: 24px;
                    opacity: 1;
                    border-radius: 20px;
                    background: rgba(255, 255, 255, 1);
                    box-shadow: 0px 10px 20px rgba(223, 234, 242, 0.39);

                    img {
                        width: 282px;
                        height: 282px;
                        border-top-left-radius: 20px;
                        border-top-right-radius: 20px;
                    }

                    h4 {
                        margin-top: 24px;
                        font-size: 22px;
                        font-weight: 400;
                        letter-spacing: 0px;
                        line-height: 25.78px;
                        color: rgba(51, 51, 51, 1);
                        text-align: center;
                    }

                    p {
                        margin-top: 10px;
                        font-size: 16px;
                        font-weight: 400;
                        letter-spacing: 0px;
                        line-height: 18.75px;
                        color: rgba(102, 102, 102, 1);
                        text-align: center;
                    }

                    &:hover {
                        background: rgb(24, 66, 182, 1);
                    }

                    &:hover h4,
                    &:hover p {
                        color: white;
                    }
                }

                @keyframes move {
                    0% {
                        transform: translate(0);
                    }

                    100% {
                        // (282+24)*9=2754
                        transform: translate(-2754px);
                    }
                }

                &:hover {
                    animation-play-state: paused;
                }
            }
        }

        // 查看更多
        .more {
            margin-top: 60px;
            width: 100px;
            height: 22px;

            a {
                display: flex;
                justify-content: space-between;
                align-items: center;
                width: 100px;
                height: 22px;

                p {
                    font-size: 18px;
                    font-weight: 400;
                    letter-spacing: 0px;
                    line-height: 21.1px;
                    color: rgba(51, 51, 51, 1);
                }

                span {
                    font-size: 12px;
                    font-weight: 400;
                    letter-spacing: 0px;
                    line-height: 21.1px;
                    color: rgba(102, 102, 102, 1);
                }

                &:hover p,
                &:hover span {
                    color: rgb(24, 66, 182, 1);
                }
            }
        }
    }

    // 就业概况
    .get-job {
        padding-top: 150px;

        // 就业信息表
        .job-table {
            width: 1200px;
            height: 630px;
            background: url(../assets/uploads/blue-background.webp);
            border-radius: 20px;

            h4 {
                margin: 22px;
                padding-top: 25px;
                font-size: 24px;
                font-weight: 400;
                letter-spacing: 0px;
                line-height: 28.13px;
                color: rgba(255, 255, 255, 1);
                text-align: center;
            }

            // 就业信息表头
            .job-table-head {
                display: flex;
                align-items: center;
                justify-content: space-between;
                width: 1200px;
                height: 20px;
                padding-left: 20px;
                padding-right: 20px;
                // background-color: orange;

                span {
                    text-align: center;
                    font-size: 16px;
                    font-weight: 400;
                    letter-spacing: 0px;
                    line-height: 18.75px;
                    color: rgba(255, 255, 255, 1);

                    &:nth-child(1) {
                        width: 45px;
                        height: 20px;
                        margin-right: 75px;
                    }

                    &:nth-child(2) {
                        width: 40px;
                        height: 20px;
                        margin-right: 75px;
                    }

                    &:nth-child(3) {
                        width: 176px;
                        height: 20px;
                        margin-right: 62px;
                    }

                    &:nth-child(4) {
                        width: 150px;
                        height: 20px;
                        margin-right: 68px;
                    }

                    &:nth-child(5) {
                        width: 200px;
                        height: 20px;
                        margin-right: 70px;
                    }

                    &:nth-child(6) {
                        width: 100px;
                        height: 20px;
                        margin-right: 70px;
                    }

                    &:nth-child(7) {
                        width: 72px;
                        height: 20px;
                    }
                }
            }

            // 就业信息表内容
            .job-table-content {
                margin-top: 15px;
                width: 1200px;
                height: 450px;
                border-top: 1px solid rgba(255, 255, 255, 0.3);
                overflow: hidden;

                .table-content {
                    width: 1200px;
                    height: 450px;
                    animation: move2 12s infinite linear;

                    &:hover {
                        animation-play-state: paused;
                    }

                    .personal {
                        display: flex;
                        text-align: center;
                        justify-content: space-between;
                        width: 1200px;
                        height: 50px;
                        padding-left: 20px;
                        padding-right: 20px;
                        padding-top: 16px;
                        padding-bottom: 16px;

                        &:nth-child(2n) {
                            background: rgba(255, 255, 255, 0.15);
                        }

                        &:nth-child(2n+1) {
                            background: rgba(255, 255, 255, 0.1);
                        }

                        span {
                            text-align: center;
                            font-size: 16px;
                            font-weight: 400;
                            letter-spacing: 0px;
                            line-height: 18.75px;
                            color: rgba(255, 255, 255, 1);

                            &:nth-child(1) {
                                width: 45px;
                                height: 20px;
                                margin-right: 75px;
                            }

                            &:nth-child(2) {
                                width: 40px;
                                height: 20px;
                                margin-right: 75px;
                            }

                            &:nth-child(3) {
                                width: 176px;
                                height: 20px;
                                margin-right: 62px;
                            }

                            &:nth-child(4) {
                                width: 150px;
                                height: 20px;
                                margin-right: 68px;
                            }

                            &:nth-child(5) {
                                width: 200px;
                                height: 20px;
                                margin-right: 70px;
                            }

                            &:nth-child(6) {
                                width: 100px;
                                height: 20px;
                                margin-right: 70px;
                            }

                            &:nth-child(7) {
                                width: 72px;
                                height: 20px;
                            }
                        }
                    }
                }

                @keyframes move2 {
                    0% {
                        transform: translateY(0);
                    }

                    100% {
                        transform: translateY(-600px);
                    }
                }
            }

            // 就业信息表尾
            .job-table-foot {
                padding-top: 22px;
                padding-left: 555px;
                width: 1200px;
                height: 70px;
                background: rgba(255, 255, 255, 0.2);
                border-top: 1px solid rgba(255, 255, 255, 0.3);

                a {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    width: 100px;
                    height: 22px;

                    p {
                        font-size: 18px;
                        font-weight: 400;
                        letter-spacing: 0px;
                        line-height: 21.1px;
                        color: rgba(255, 255, 255, 1);
                    }

                    span {
                        font-size: 12px;
                        font-weight: 400;
                        letter-spacing: 0px;
                        line-height: 21.1px;
                        color: rgba(255, 255, 255, 1);
                    }

                    &:hover p,
                    &:hover span {
                        color: rgb(24, 66, 182, 1);
                    }
                }
            }
        }
    }

    // 职创动态
    .dynamic {
        padding-top: 150px;
        padding-bottom: 150px;
        background: linear-gradient(180deg, rgba(24, 66, 182, 0) 0%, rgba(24, 66, 182, 0.06) 100%);

        .dynamic-list {
            display: flex;
            width: 1200px;
            height: 440px;

            .dynamic-item {
                position: relative;
                display: inline;
                align-items: center;
                justify-content: space-between;
                width: 386px;
                height: 440px;

                &:nth-child(2) {
                    margin-left: 20px;
                    margin-right: 20px;
                }

                .dynamic-item1 {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 386px;
                    height: 383px;
                    opacity: 0.1;
                    border-radius: 20px;
                    background: linear-gradient(91.9deg, rgba(24, 66, 182, 1) 0%, rgba(90, 136, 255, 0.73) 100%);
                }

                .dynamic-item2 {
                    position: absolute;
                    top: 14px;
                    left: 14px;
                    width: 358px;
                    height: 87px;
                    opacity: 1;
                    border-radius: 16px;
                    background: linear-gradient(90deg, rgba(24, 66, 182, 1) 0%, rgba(90, 136, 255, 0.59) 100%);

                    a {
                        display: flex;
                        justify-content: space-between;
                        padding-top: 20px;
                        padding-left: 20px;
                        padding-right: 20px;
                        width: 358px;
                        height: 87px;
                        line-height: 87px;
                        border-radius: 16px;

                        &:hover p,
                        &:hover span {
                            color: rgba(255, 255, 255, 0.7)
                        }

                        p {
                            font-size: 24px;
                            font-weight: 500;
                            letter-spacing: 0px;
                            line-height: 28.13px;
                            color: rgba(255, 255, 255, 1);
                        }

                        span {
                            font-size: 12px;
                            font-weight: 500;
                            letter-spacing: 0px;
                            line-height: 28.13px;
                            color: rgba(255, 255, 255, 1);
                        }
                    }
                }

                &:nth-child(3) .dynamic-item2 {
                    background: linear-gradient(90deg, rgba(38, 212, 140, 1) 0%, rgba(38, 212, 140, 0.59) 100%);
                }
                &:nth-child(1) .dynamic-item2 {
                    background: linear-gradient(90deg, rgb(212, 47, 38) 0%, rgba(212, 38, 38, 0.721) 100%);
                }

                .dynamic-item3 {
                    position: absolute;
                    top: 83px;
                    left: 0px;
                    width: 386px;
                    height: 340px;
                    opacity: 1;
                    border-radius: 20px;
                    background: rgba(255, 255, 255, 0.8);
                    border-top: 1px solid rgba(255, 255, 255, 1);
                    backdrop-filter: blur(14px);

                    .news-list {
                        width: 100%;
                        height: 100%;

                        .news {
                            align-items: center;
                            width: 100%;
                            height: 42px;
                            line-height: 42px;
                            border-radius: 20px;

                            a {
                                padding-left: 20px;
                                font-size: 18px;
                                font-weight: 400;
                                letter-spacing: 0px;
                                line-height: 21.1px;
                                color: rgba(51, 51, 51, 1);

                                span {
                                    margin-right: 10px;
                                    font-size: 18px;
                                    font-weight: 700;
                                    letter-spacing: 0px;
                                    line-height: 21.1px;
                                    color: rgba(24, 66, 182, 1);
                                }
                            }

                            &:nth-child(1) a span,
                            &:nth-child(2) a span,
                            &:nth-child(3) a span {
                                color: rgba(255, 69, 69, 1);
                            }

                            &:hover {
                                background: rgb(24, 66, 182, 1);
                            }

                            &:hover a,
                            &:hover span {
                                color: white !important;
                            }

                        }
                    }
                }
            }
        }
    }
}